<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"  %> 
<c:set var="basepath" value="<%= request.getContextPath()%>"  />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xekfurniture</title>
<meta name="description" content="bed,barstool,dining set,chair,computer desk,TV stand,coffee table,student desk,furniture,metal furniture,outdoor furniture,indoor furniture, living room furniture, dining room furniture, garden furniture,wood furniture, metal furniture,sofa,futon bed" />
<meta name="keywords" content="bed,barstool,dining set,chair,computer desk,TV stand,coffee table,student desk,furniture,metal furniture,outdoor furniture,indoor furniture, living room furniture, dining room furniture, garden furniture,wood furniture, metal furniture,sofa,futon bed" />
<link type="text/css" rel="stylesheet" href="${basepath}/res/js/alerts/jquery.alerts.css" />
<script type="text/javascript" src="${basepath}/res/js/jquery171.js"></script>
<script type="text/javascript" src="${basepath}/res/js/jquery.form.js"></script>

<script src="${basepath}/res/js/alerts/ui.core.js"></script>
<script src="${basepath}/res/js/alerts/ui.draggable.js"></script>
<script src="${basepath}/res/js/alerts/jquery.alerts.js"></script>

<script src="${basepath}/res/js/common.js"></script>
<style type="text/css">
.scrollDiv {
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-face-color : #EDEDED;
  scrollbar-darkshadow-color : #EDEDED;
  width: 100%;
}
</style>
<script>
	function setNoPageBarDivHeight() {
		var clientHeight = document.documentElement.clientHeight-35;
		document.getElementById("dataDiv").style.height=clientHeight;
  	}
	var Sys = {};
    var ua = navigator.userAgent.toLowerCase();
    var s;
    (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
    (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
    (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
    (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
    (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
 
	if (Sys.opera || Sys.safari)
	{
		window.setInterval("reinitIframe()", 200);
	}
	function reinitIframe() //针对opera safari
	{
		var iframe = document.getElementById("main");
		var iframe1 = document.getElementById("picmain");
		var iframe2 = document.getElementById("left");
		try{
			var bHeight = iframe.contentWindow.document.body.scrollHeight;
			var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
			var height = Math.max(bHeight, dHeight);
			iframe.height =  height;
			var bHeight1 = iframe1.contentWindow.document.body.scrollHeight;
			var dHeight1 = iframe1.contentWindow.document.documentElement.scrollHeight;
			var height1 = Math.max(bHeight1, dHeight1);
			iframe1.height =  height1;
			var bHeight2 = iframe2.contentWindow.document.body.scrollHeight;
			var dHeight2 = iframe2.contentWindow.document.documentElement.scrollHeight;
			var height2 = Math.max(bHeight2, dHeight2);
			iframe2.height =  height2;
		}catch (ex){}
	}
 
	function iframeAutoFit(iframeObj)
	{ 
		setTimeout(function()
		{
			if(!iframeObj) 
			return;
			iframeObj.height=(iframeObj.Document?iframeObj.Document.body.scrollHeight:iframeObj.contentDocument.body.offsetHeight)+30;//这里+30是有目的的
		},200)
	}
</script>
</head>
</html>


